#include <stdio.h>
int func(int a)
{
	int b = 2;
	a += -b;
	b = 2 * a;
	return b;
}
int main(void)
{
	int a = 2, result = 2;
	result += func(a);
	printf("result=%d, a=%d\n", result, a);
}


